<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<form action="2段落.html">
			<!-- 单行输入框 -->
			<label>用户姓名:</label> <input type="text" name="username" placeholder="请输入姓名" required size="50" maxlength="5"
				value="张三" />
			<hr />
			<label>用户密码:</label><input type="password" name="userpwd" value="123456" />
			<hr />
			<!-- 单选框 -->
			<label for="abc">用户性别:</label><input type="radio" name="sex" value="man" />男
			<input type="radio" name="sex" value="woman" id="abc" />女
			<hr />
			<!-- 多选框 -->
			<label>用户爱好</label><input type="checkbox" checked name="ah" value="dy">抖音
			<input type="checkbox" name="ah" value="yd">运动
			<input type="checkbox" name="ah" value="xx">学习
			<hr />
			<!-- 下拉框 -->
			<label>所在城市</label><select multiple name="city">
				<option value="bj">北京</option>
				<option selected value="sh">上海</option>
				<option value="gz">广州</option>
			</select>
			<!-- 多行输入框 -->
			<hr />
			<label>自我介绍</label><textarea name="desc" rows="10" cols="100"></textarea>
			<hr />
			<label>上传文件:</label><input type="file" name="file" />
			<hr />
			<label>出生日期:</label><input type="date" name="birthday" />
			<hr />
			<label>时间选择:</label><input type="time" name="time" />
			<hr />
			<label>用户邮箱:</label><input type="email" name="email" />
			<hr />
			<label>用户手机:</label><input type="tel" name="tel" />
			<hr />
			<label>博客地址:</label><input type="url" name="time" />
			<hr />
			<label>滑块:</label><input type="range" value="20" max="100" min="1" />
			<hr />
			<label>数字:</label><input type="number" value="5" max="10" min="1" />
			<hr />
			<label>颜色:</label><input type="color" />
			<hr />
			<input type="hidden" value="20" />
			<hr />
			<input type="button" value="登录" />
			<input type="submit" value="提交" />
		</form>
	</body>
</html>
